<template>
	<view>
		<button v-bind:disabled="isButtonDisabled" @click="changeStatus">切换</button>
		<text v-show="seen">{{message}}</text>
	</view>
</template>

<script>
	export default {
		data: {
			isButtonDisabled: false,
			seen: true,
			message: '菜鸟教程'
		},
		methods: {
			changeStatus() {
				this.seen = !this.seen;
			}
		}
	}
</script>

<style>

</style>
